#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
#define MaxSize 100
#define NULLKEY -1
#define DELLKEY -2
typedef int KeyType;
typedef char *InfoType;
char HASH[100][200];
#define MOD 97
#define R 26
int hash(InfoType info) {
  int res = 0;
  int i, len = strlen(info);
  for (i = 0; i < len; i++) {
    if (isalpha(info[i]))
      res = (res *R + info[i] - 'a') % MOD;
  }
  return res % MOD;
}
int Search(InfoType info) {
  int pos = hash(info);
  return strcmp(info, HASH[pos]) == 0;
}
int Put(InfoType info) {
  if (Search(info))
    return 0;
  strcpy(HASH[hash(info)], info);
  return 1;
}
int Del(InfoType info) {
  if (Search(info)) {
    strcpy(HASH[hash(info)], "");
    return 1;
  }
  return 0;
}

int main() {
  char text[10];
  int i;
  for (i = 0; i < 2; i++) {
    scanf("%s", text);
    if (Put(text))
      puts("Insert entry ok!");
    else
      puts("Insert Failed");
  }
  for (i = 0; i < 2; i++) {
    scanf("%s", text);
    if (Search(text)) {
      Del(text);
      puts("Delete entry ok!");
    } else {
      puts("NO FOUND!");
    }
  }
  return 0;
}
